package com.wind.cloud.common.constant;

/**
 * 异常代码
 *
 * @author wind.
 */
public abstract class ErrorCodes {

    /**
     * 成功
     */
    public static final int SUCCESS = 0;

    /**
     * 业务异常
     */
    public static final int BUSINESS_ERROR = 1000;

    /**
     * 校验错误
     */
    public static final int VALIDATE_ERROR = 2000;

    /**
     * 系统错误
     */
    public static final int SYSTEM_ERROR = 5000;

}
